#ifndef __PLUG_MEDIA_RECORDMNG_H__
#define __PLUG_MEDIA_RECORDMNG_H__

#include "hi_type.h"
#include "plug_common.h"

#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif /* End of #ifdef __cplusplus */

typedef struct tagPLUG_MEDIA_RECORDMNG_INITCFG_S
{
    HI_S32 s32Reserved; //占位参数，无具体意义
}PLUG_MEDIA_RECORDMNG_INITCFG_S;

typedef struct tagPLUG_MEDIA_RECORDMNG_CFG_S
{
    HI_CHAR azFilePath[64]; //保存文件路径
}PLUG_MEDIA_RECORDMNG_CFG_S;

/**
 * @brief    recordmng init
 * @param[in] PLUG_MEDIA_RECORDMNG_INITCFG_S *pstInitCfg
 * @return 0 success,non-zero error code.
 * @exception    None
 */
HI_S32 PLUG_MEDIA_RECORDMNG_Init(PLUG_MEDIA_RECORDMNG_INITCFG_S *pstInitCfg);

/**
 * @brief    recordmng start record
 * @param[in] PLUG_MEDIA_RECORDMNG_CFG_S *pstPhotoCfg
 * @return 0 success,non-zero error code.
 * @exception    None
 */
HI_S32 PLUG_MEDIA_RECORDMNG_StartRecord(PLUG_MEDIA_RECORDMNG_CFG_S *pstRecordCfg);

/**
 * @brief    recordmng stop record
 * @param[in] PLUG_MEDIA_RECORDMNG_CFG_S *pstPhotoCfg
 * @return 0 success,non-zero error code.
 * @exception    None
 */
HI_S32 PLUG_MEDIA_RECORDMNG_StopRecord(HI_VOID);

/**
 * @brief    recordmng get record state
 * @param[in] none
 * @return 1 true,0 false.
 * @exception    None
 */
HI_BOOL PLUG_MEDIA_RECORDMNG_GetState(HI_VOID);

/**
 * @brief    photomng deinit
 * @param[in] none
 * @return 0 success,non-zero error code.
 * @exception    None
 */
HI_S32 PLUG_MEDIA_RECORDMNG_Deinit(HI_VOID);


HI_S32 PLUG_MEDIA_RecordSendAudioFrame(PLUG_COMMON_AI_DATA_INFO* pstAiData);


#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* End of #ifdef __cplusplus */

#endif /* __PLUG_MEDIA_RECORDMNG_H__ */

